/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Banner Styling */
.banner {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #007bff;
    height: 100%;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branding {
    margin-right: 1150px;
}

.banner img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

/* Login Form Styling */
.login-container {
    margin-left: 320px;
    width: 40%;
    max-width: 900px;
    padding: 40px;
    position: absolute;
    top: 5%;
}

.login-form h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: bold;
}

.login-form p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

form label {
    font-size: 14px;
    font-weight: bold;
    margin-top: 20px;
    display: block;
}

form input {
    width: 100%;
    padding: 22px;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.password-options {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.password-options a {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.password-options a:hover {
    text-decoration: underline;
}

.checkbox {
    display: flex;
    align-items: center;
    margin-top: -10px;
    margin-bottom: 20px;
    gap: 10px;
}

.checkbox input {
    margin-top: 20px;
    margin-right: 20px;
}

.checkbox label {
    font-size: 14px;
    color: #333;
}

button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 10px;
}

.login-btn {
    background-color: #007bff;
    color: white;
}

.login-btn:hover {
    background-color: #0056b3;
}

.register-btn {
    background-color: #e6f2ff;
    color: #007bff;
}

.register-btn:hover {
    background-color: #d4e7ff;
}

.social-login {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.social-login button {
    flex: 1;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    cursor: pointer;
}

.social-login button:last-child {
    margin-right: 0;
}

.social-login img {
    height: 20px;
    margin-right: 10px;
}

.google-btn:hover,
.apple-btn:hover {
    background-color: #f7f7f7;
}

/* Image Styling */
img {
    width: 100px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .banner {
        width: 200px;
        height: auto;
    }

    .login-container {
        margin-left: 220px; 
        width: 60%; 
    }
}

@media screen and (max-width: 768px) {
    .banner {
        width: 150px;
    }

    .login-container {
        margin-left: 0;
        width: 90%; 
        position: relative;
        top: 10%;
    }

    .social-login {
        flex-direction: column;
        gap: 10px;
    }

    .checkbox input {
        margin-right: 10px;
    }
}

@media screen and (max-width: 480px) {
    .banner {
        display: none; 
    }

    .login-container {
        margin: 0;
        width: 100%; 
        padding: 20px;
    }

    button {
        padding: 10px;
        font-size: 14px;
    }

    .login-form h1 {
        font-size: 22px;
    }
}
